package com.ruoyi.finances.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 银行存款对象 tb_account_bank
 * 
 * @author ruoyi
 * @date 2024-11-14
 */
public class TbAccountBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 账户编号 */
    @Excel(name = "账户编号")
    private Long accountId;

    /** 账目名称 */
    @Excel(name = "账目名称")
    private String accountName;

    /** 银行 */
    @Excel(name = "银行")
    private String bank;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 币别 */
    @Excel(name = "币别")
    private String currency;

    /** 会计科目 */
    @Excel(name = "会计科目")
    private String accountingAccount;

    /** 绑定银企互联 */
    @Excel(name = "绑定银企互联")
    private String Interconnect;

    /** 绑定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindTime;

    /** 到期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String accountStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setAccountingAccount(String accountingAccount) 
    {
        this.accountingAccount = accountingAccount;
    }

    public String getAccountingAccount() 
    {
        return accountingAccount;
    }
    public void setInterconnect(String Interconnect) 
    {
        this.Interconnect = Interconnect;
    }

    public String getInterconnect() 
    {
        return Interconnect;
    }
    public void setBindTime(Date bindTime) 
    {
        this.bindTime = bindTime;
    }

    public Date getBindTime() 
    {
        return bindTime;
    }
    public void setExpireTime(Date expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() 
    {
        return expireTime;
    }
    public void setAccountStatus(String accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus() 
    {
        return accountStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountId", getAccountId())
            .append("accountName", getAccountName())
            .append("bank", getBank())
            .append("bankAccount", getBankAccount())
            .append("currency", getCurrency())
            .append("accountingAccount", getAccountingAccount())
            .append("Interconnect", getInterconnect())
            .append("bindTime", getBindTime())
            .append("expireTime", getExpireTime())
            .append("accountStatus", getAccountStatus())
            .toString();
    }
}
